package com.zyf.chapter02.structure.proxy;

import com.zyf.chapter01.practice.v3.MetricsCollector;
import com.zyf.chapter01.principle.practice.RequestInfo;
import com.zyf.chapter02.structure.proxy.UserVo;

/**
 * 只专注于业务
 * @author yifeng
 */
public class V2UserController {

    public UserVo login(String telephone, String password) {
        // ... 省略 login 逻辑...
        // 返回 UserVo
        return null;
    }

    public UserVo register(String telephone, String password) {
        // ... 省略 register 逻辑...
        // ...返回 UserVo 数据...
        return null;
    }
}
